﻿using Huirui.Cavan.Domain.MainBoundedContext.SearchModule;
using Huirui.Cavan.Domain.MainBoundedContext.SystemModule;
using Huirui.Cavan.Presentation.Seedwork;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Huirui.Cavan.Presentation.ViewModel.SystemModule
{
    public class CurrencyViewModel : EntityModel<Currency, int, CurrencySearch>, ICurrencyViewModel
    {
    }

    public class CurrencyJson
    {
        public int Id { get; set; }
        public string Code { get; set; }
        public string Name { get; set; }
        public decimal Rate { get; set; }
        public bool IsLocal { get; set; }
        public string StrIsLocal { get; set; }
    }

    public class CurrencyJsonViewModel : JsonViewModel<CurrencyJson>
    {
    }
}
